<table class="datalist" summary="list of members in EE Studay" id="oTable">
				<tr>
					<th scope="col">选择</th>
					<th scope="col">姓名</th>
					<th scope="col">电话</th>
					<th scope="col">类型</th>
					<th scope="col">状态</th>
					<th scope="col" width="250px">备注</th>
				</tr>
	            <?php foreach ($guest_list as $v):?>
	            	
	            	<tr>
	            		<td><input type="checkbox"/></td>
	            		<td>
	            			<a href="del/<?php echo $v->id;?>"><img title="删除嘉宾"  alt="删除嘉宾" src="<?php echo base_url()?>images/icon/s_remove.png"/></a>
	            			<a href="<?php echo base_url()?>index.php/user/guestAction/edit_init/<?php echo $v->id;?>"><img title="编辑嘉宾" alt="编辑嘉宾" src="<?php echo base_url()?>images/icon/s_edit.png"/></a>
	            			<?php echo $v->i_name;?>
	            		</td>
	            		<td><?php echo $v->phone;?>&nbsp;</td>

	
	            		<?php if ($v->i_category == '1'):?>
	            		<td>新郎同学</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '2'):?>
	            		<td>新郎朋友</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '3'):?>
	            		<td>新郎同事</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '4'):?>
	            		<td>新娘同学</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '5'):?>
	            		<td>新娘朋友</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '6'):?>
	            		<td>新娘同事</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '7'):?>
	            		<td>娘家亲属</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '8'):?>
	            		<td>娘家朋友</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '9'):?>
	            		<td>娘家同事</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '10'):?>
	            		<td>婆家亲属</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '11'):?>
	            		<td>婆家朋友</td>
	            		<?php endif;?>
	            		
	            		<?php if ($v->i_category == '12'):?>
	            		<td>婆家同事</td>
	            		<?php endif;?>
	            		
	            		
	            		<?php if ($v->i_flag == '0'):?>
	            		<td>未邀请</td>
	            		<?php endif;?>
	            		<?php if ($v->i_flag == '1'):?>
	            		<td>已邀请</td>
	            		<?php endif;?>
	            		<td><?php echo $v->remark;?>&nbsp;</td>
	            	</tr>
	            <?php endforeach;?>
	        </table>